package com.xgk.boot.module.core.dal.entity.bil;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xgk.boot.framework.mybatis.core.dataobject.BaseDO;
import lombok.Data;

/**
 * <p>
 * 客户业务账单应收对照表
 * </p>
 *
 * @author yfbao
 * @since 2025-06-14
 */
@Data
@TableName("bil_business_bill_map")
public class BilBusinessBillMapDO extends BaseDO {

    /**
     * 自动增长列
     */
    @TableId(value = "bbbm_id", type = IdType.ASSIGN_ID)
    private Long bbbmId;

    /**
     * 账单ID
     */
    @TableField("bbb_id")
    private Long bbbId;

    /**
     * 应收表ID
     */
    @TableField("bsbd_id")
    private Long bsbdId;

    /**
     * 业务类型
     * 订单业务-so 其他-ot
     */
    @TableField("bbb_type")
    private String bbbType;

    @Override
    public String toString() {
        return "BilBusinessBillMap{" +
        ", bbbmId = " + bbbmId +
        ", bbbId = " + bbbId +
        ", bsbdId = " + bsbdId +
        ", bbbType = " + bbbType +
        "}";
    }
}
